package facade;

public class Popcorn {



    //使用单例模式
    private static Popcorn instance = new Popcorn();

    private Popcorn(){};

    public static Popcorn getInstance(){
        return instance;
    }


    public void on(){
        System.out.println("dvd on");
    }

    public void pause(){
        System.out.println("dvd   pause");
    }

}
